package com.ruoyi.inventory.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 【请填写功能名称】对象 t_allot
 *
 * @author ruoyi
 * @date 2024-10-28
 */
public class Allot extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 单据编号 */
    @Excel(name = "单据编号")
    private String document;

    /** 原仓库 */
    @Excel(name = "原仓库")
    private Long primaryWarehouseId;

    /** 调拨仓库 */
    @Excel(name = "调拨仓库")
    private Long allotWarehouseId;

    /** 产品编号 */
    @Excel(name = "产品编号")
    private String goodsNo;

    /** 入库库区id */
    @Excel(name = "入库库区id")
    private Long areaId;

    /** 入库货架id */
    @Excel(name = "入库货架id")
    private Long shelfId;

    /** 入库货位id */
    @Excel(name = "入库货位id")
    private Long locationId;

    /** 商品名称 */
    @Excel(name = "商品名称")
    private String goodsName;

    /** 出库位置 */
    @Excel(name = "出库位置")
    private String primaryLocation;

    public Long getAllotState() {
        return allotState;
    }

    @Override
    public String toString() {
        return "Allot{" +
                "id=" + id +
                ", document='" + document + '\'' +
                ", primaryWarehouseId=" + primaryWarehouseId +
                ", allotWarehouseId=" + allotWarehouseId +
                ", goodsNo='" + goodsNo + '\'' +
                ", areaId=" + areaId +
                ", shelfId=" + shelfId +
                ", locationId=" + locationId +
                ", goodsName='" + goodsName + '\'' +
                ", primaryLocation='" + primaryLocation + '\'' +
                ", allotLocation='" + allotLocation + '\'' +
                ", allotState=" + allotState +
                '}';
    }

    public void setAllotState(Long allotState) {
        this.allotState = allotState;
    }

    /** 调拨位置 */
    @Excel(name = "调拨位置")
    private String allotLocation;

    /** 调拨状态 */
    @Excel(name = "调拨状态")
    private Long allotState;

    public String getGoodsName() {
        return goodsName;
    }

    public void setGoodsName(String goodsName) {
        this.goodsName = goodsName;
    }

    public String getPrimaryLocation() {
        return primaryLocation;
    }

    public void setPrimaryLocation(String primaryLocation) {
        this.primaryLocation = primaryLocation;
    }

    public String getAllotLocation() {
        return allotLocation;
    }

    public void setAllotLocation(String allotLocation) {
        this.allotLocation = allotLocation;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setDocument(String document)
    {
        this.document = document;
    }

    public String getDocument()
    {
        return document;
    }
    public void setPrimaryWarehouseId(Long primaryWarehouseId)
    {
        this.primaryWarehouseId = primaryWarehouseId;
    }

    public Long getPrimaryWarehouseId()
    {
        return primaryWarehouseId;
    }
    public void setAllotWarehouseId(Long allotWarehouseId)
    {
        this.allotWarehouseId = allotWarehouseId;
    }

    public Long getAllotWarehouseId()
    {
        return allotWarehouseId;
    }
    public void setGoodsNo(String goodsNo)
    {
        this.goodsNo = goodsNo;
    }

    public String getGoodsNo()
    {
        return goodsNo;
    }
    public void setAreaId(Long areaId)
    {
        this.areaId = areaId;
    }

    public Long getAreaId()
    {
        return areaId;
    }
    public void setShelfId(Long shelfId)
    {
        this.shelfId = shelfId;
    }

    public Long getShelfId()
    {
        return shelfId;
    }
    public void setLocationId(Long locationId)
    {
        this.locationId = locationId;
    }

    public Long getLocationId()
    {
        return locationId;
    }

}